package org.apache.jsp.WEB_002dINF.admin;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/WEB-INF/c.tld");
  }

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=utf-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");

String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 

      out.write("    \r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n");
      out.write("<base href=\"");
      out.print(basePath );
      out.write("\" />\r\n");
      out.write("<title><?php echo $this->config->item('system_title');?></title>\r\n");
      out.write("<link href=\"resource/admin/login/css/login.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("<script language=\"JavaScript\">\r\n");
      out.write("<!--\r\n");
      out.write("function fleshVerify(type){ \r\n");
      out.write("\t//重载验证码\r\n");
      out.write("\tvar timenow = new Date().getTime();\r\n");
      out.write("\tif (type){\r\n");
      out.write("\t\t//$('#verifyImg').attr(\"src\", '/dwz_thinkphp/Admin/index.php/Public/verify/adv/1/'+timenow);\r\n");
      out.write("\t}else{\r\n");
      out.write("\t\t//$('#verifyImg').attr(\"src\", '/dwz_thinkphp/Admin/index.php/Public/verify/'+timenow);\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("//-->\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<div id=\"login\">\r\n");
      out.write("\t<div id=\"login_header\">\r\n");
      out.write("\t\t<h1 class=\"login_logo\">\r\n");
      out.write("\t\t\t<a href=\"index.php/webmaster/login\"><img src=\"resource/admin/login/images/login_logo.gif\" /></a>\r\n");
      out.write("\t\t</h1>\r\n");
      out.write("\t\t<div class=\"login_headerContent\">\r\n");
      out.write("\t\t\t<div class=\"navList\">\r\n");
      out.write("\t\t\t\t<ul>\r\n");
      out.write("\t\t\t\t\t<li><a href=\"#\">返回首页</a></li>\r\n");
      out.write("\t\t\t\t\t<li><a href=\"#\">反馈</a></li>\r\n");
      out.write("\t\t\t\t\t<li><a href=\"#\">帮助</a></li>\r\n");
      out.write("\t\t\t\t</ul>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t<h2 class=\"login_title\"><img src=\"resource/admin/login/images/login_title.png\" /></h2>\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t</div>\r\n");
      out.write("\t<div id=\"login_content\">\r\n");
      out.write("\t\t<div class=\"loginForm\">\r\n");
      out.write("\t\t\t<form method=\"post\" action=\"admin/webmaster/login\" >\r\n");
      out.write("\t\t\t\t<p>\r\n");
      out.write("\t\t\t\t\t<label>帐号：</label>\r\n");
      out.write("\t\t\t\t\t<input type=\"text\" name=\"user_name\" size=\"20\" class=\"login_input\" />\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t\t<p>\r\n");
      out.write("\t\t\t\t\t<label>密码：</label>\r\n");
      out.write("\t\t\t\t\t<input type=\"password\" name=\"password\" size=\"20\" class=\"login_input\" />\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t\t<p>\r\n");
      out.write("\t\t\t\t\t<label>验证码：</label>\r\n");
      out.write("\t\t\t\t\t<input class=\"code\" name=\"verify\" type=\"text\" size=\"5\" />\r\n");
      out.write("\t\t\t\t\t<!-- \r\n");
      out.write("\t\t\t\t\t<span><img id=\"verifyImg\" SRC=\"/dwz_thinkphp/Admin/index.php/Public/verify/\" onClick=\"fleshVerify()\" border=\"0\" alt=\"点击刷新验证码\" style=\"cursor:pointer\" align=\"absmiddle\"></span>\r\n");
      out.write("\t\t\t\t\t -->\r\n");
      out.write("\t\t\t\t</p>\r\n");
      out.write("\t\t\t\t<div class=\"login_bar\">\r\n");
      out.write("\t\t\t\t\t<input class=\"sub\" type=\"submit\" name=\"form_submit\" value=\" \" />\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t</form>\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t\t<div class=\"login_banner\"><img src=\"resource/admin/login/images/login_banner.jpg\" /></div>\r\n");
      out.write("\t\t<div class=\"login_main\">\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t</div>\r\n");
      out.write("\t<div id=\"login_footer\">\r\n");
      out.write("\t\t中国百分百商城系统\r\n");
      out.write("\t</div>\r\n");
      out.write("</div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
